import request from '@/utils/requestA'

export const save = (integralGrade) =>
    request({
        url: '/integralGrade/',
        method: 'post',
        data: integralGrade
    })

export const remove = (id) =>
    request({
        url: '/integralGrade/delete?id=' + id,
        method: 'get'
    })

export const update = (integralGrade) =>
    request({
        url: '/integralGrade',
        method: 'put',
        data:integralGrade
    })
    export const updatea = (id) =>
    request({
        url: '/integralGrade/updatea',
        method: 'post',
        data:id
    })

export const init = () =>
request({
    url: '/integralGrade',
    method: 'get'
})

